package com.onstar.cn.common.util;
/**
 * 
* @ClassName: PayMeConstants 
* @Description: 支付常量公用类
* @author Xiaofeng Feng
* @date 2015年9月9日 下午1:45:07
 */
public class PayMeConstants {
	// 微信APP_ID
	public static final String APP_ID = "wxf058abe511185306";

	public static final String GET_TOKEN_URL = "https://api.weixin.qq.com/cgi-bin/token?grant_type=client_credential&appid=%s&secret=%s";
	public static final String GET_PREPAYID_URL = "https://api.weixin.qq.com/pay/genprepay?access_token=%s";

	public static class ShowMsgActivity {
		public static final String STitle = "showmsg_title";
		public static final String SMessage = "showmsg_message";
		public static final String BAThumbData = "showmsg_thumb_data";
	}

	public static final int SUCCESS_CODE = 200;
	public static final int PAY_SUCCESS = 0x1234566;
	public static final int PAY_ERROR = 0x1234567;
	public static final int ALIPAY_WEB_SUCCESS = 0x1234568;
	public static final int WECHAT_SUCCESS = 0x1234569;
	public static final int ALIPAY_SUCCESS = 0x12345690;

	/**
	 * 微信支付访问状态
	 */
	public static int WECHAT_RESP_CODE = 999;
}
